package com.google.jessewilson.codesearch.api;

import com.google.jessewilson.codesearch.api.spi.SearchProviderBackend;

/**
 * An interface for running queries.
 *
 * @author jessewilson
 */
public interface QueryRunner {

  /**
   * Run the specified query with the search provider, opening displays and
   * downloading data as necessary.
   */
  void query(Query query, SearchProviderBackend searchProviderBackend);
}
